{extend name="mainadmin@layouts/base" /}
{block name="main" }

<header class="header  b-b clearfix">
    <form id="forms" class="talbe-search form-inline "  method="post" action="{:url('getAgentList')}" >
     <div class="page-breadcrumbs">
            <ul class="breadcrumb" >
                <li>
                    <i class="fa fa-ellipsis-v"></i>
                    <strong>代理列表</strong>
                </li>                                  
            </ul>
             
            <select name="level_id"  style="width: 150px;" data-toggle="select2" data-notsearch="true" data-chang="submit">
                <option value="">代理等级</option>
                {foreach $LevelList as $level}
                <option value="{$level['level_id']}" {$search['level_id']==$level['level_id']?'selected':''}>{$level.level_name}</option>
                {/foreach}
            </select>
            <input type="text" class="form-control input-large" value="{$search.keyword}" name="keyword" placeholder="游客ID/帐号/手机" data-rule-required="true" />
            <button class="btn btn-sm btn-default-iq" type="submit" title="搜索"><i class="fa fa-search"></i></button>
            <!-- <a href="{:url('info')}" data-toggle="ajaxModal" title="添加等级" class="btn btn-sm btnbtn-default fr  m-t-md m-r"><i class="fa fa-plus m-r-xs"></i>添加等级</a> -->
        </div>
    </form>
</header>

<section class="scrollable wrapper w-f ">
    <section class="panel panel-default ">
        <div class="table-responsive " id="list_box">
            {include file="sys_admin/level/agent_list" /}
        </div>
    </section>
</section>

{/block}
